package com.punch.course.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * CourseTeaching-课程库表
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/7/24 15:27
 */
@Data
@Accessors(chain = true)
@TableName("course_library")
@Deprecated
public class CourseLibrary extends SuperEntity<CourseLibrary> {

    /**
     * 创建者id
     */
    @TableField("create_id")
    private Long createId;

    /**
     * 课程id
     */
    @TableField("course_id")
    private Long courseId;


    /**
     * 机构id,有可能为空
     */
    @TableField("organ_id")
    private Long organId;

    /**
     * 教师id,课程是机构时候才有数据
     */
    @TableField("teacher_id")
    private Long teacherId;

    /**
     * 教师名称,课程是机构时候才有数据
     */
    @TableField("teacher_name")
    private String teacherName;
}
